* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

#app {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  font-weight: normal;
  font-family: sarasa-gothic-sc-regular;
  color: #dfffff;
}

.flex {
  display: flex;
  align-items: center;
}

@font-face {
  font-family: "D-DIN";
  src: url("./fonts/D-DIN.ttf");
}

@font-face {
  font-family: "sarasa-gothic-sc-regular";
  src: url("./fonts/sarasa-gothic-sc-regular.ttf");
}

@font-face {
  font-family: "优设标题黑";
  src: url("./fonts/优设标题黑.ttf");
}

/**文字溢出样式**/
.text_overflow {
  max-width: 100%;
  overflow: hidden;
  /**white-space: nowrap;**/
  text-overflow: ellipsis;
  /*溢出隐藏*/
  display: -webkit-box;
  /*必须结合的属性 ，将对象作为弹性伸缩盒子模型显示 。*/
  -webkit-line-clamp: 1;
  line-clamp: 1;
  /*用来限制在一个块元素显示的文本的行数。*/
  -webkit-box-orient: vertical;
  /*必须结合的属性 ，设置或检索伸缩盒对象的子元素的排列方式 。*/
}

.title {
  height: 11rem;
  width: 100%;
  background: url("../media/img/key-material-title-bg.png") no-repeat;
  background-size: 100% 100%;
  padding: 0 0 0 6%;
  font-family: "优设标题黑";
  font-size: 6rem;
  color: #fff;
}

.bedAll {
  flex-direction: column;
}

.bedAll .bed_num {
  font-size: 6rem;
  font-family: "D-DIN";
  font-weight: bold;
  color: #ffcb6d;
}

.bedAll .bed_num span {
  font-size: 3.6rem;
  color: #dfffff;
  font-weight: 400;
}

.bedAll img {
  width: 20rem;
  height: 20rem;
}

.bedAll p {
  font-size: 3.6rem;
  color: #dfffff;
}

.bed_info_item {
  padding: 1rem 2rem;
  background: url("../media/img/bde-number-bg.png");
  background-size: 100% 100%;
  margin: 2rem 0;
}

.bed_info_item.bottom {
  background: url("../media/img/bde-number-greenbg.png");
  background-size: 100% 100%;

}

.bed_info_item img {
  width: 15rem;
  height: 15rem;
  margin-right: 4rem;
}

.bed_info_item .used_num p {
  font-size: 3.2rem;
}

.bed_info_item .used_num .num {
  font-family: D-DIN-Bold;
  font-size: 4.8rem;
  color: #5dfcf6;
}

.bed_info_item.bottom .used_num .num {
  color: #22c591;
}

.bed_info_item .used_num .num span {
  font-size: 3.2rem;
  color: #dfffff;
}